﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="ListContact.aspx.cs" Inherits="ContactMaintenance._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 98px;
            height: 30px;
        }
        .style6
        {
            height: 30px;
        }
        .style7
        {
            height: 33px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td class="style2">
                <asp:Label ID="LabelFirstName" runat="server" Text="First Name:"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBoxFirstName" runat="server" Width="200px"></asp:TextBox>
            </td>
            <td class="style6">
                <asp:Label ID="LabelSurName" runat="server" Text="Surname: "></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBoxSurName" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style7" colspan="4">
                <asp:Button ID="ButtonSearchContact" runat="server" Text="Search Contact" />
                <asp:Button ID="ButtonContact" runat="server" Text="Contact" />
                <asp:Button ID="ButtonClear" runat="server" Text="Clear" />
                <asp:Button ID="ButtonCreate" runat="server" Text="Create" />
            </td>
        </tr>
        <tr>
            <td colspan="2" class="style6">
                <asp:CheckBox ID="CheckBoxIncludeInValidContact" runat="server" Text=" Include in-active contact?" />
            </td>
            <td colspan="2" class="style6">
                </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:GridView ID="GridViewListContact" runat="server" width="100%" 
                    AutoGenerateColumns="False" Height="114px">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:RadioButton ID="RadioButtonSelectRow" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Contact Name">
                            <ItemTemplate>
                                <asp:Label ID="LabelContactName" runat="server" Text="Label"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Mobile Phone">
                            <ItemTemplate>
                                <asp:Label ID="LabelMobilePhone" runat="server" Text="Label"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Email">
                            <ItemTemplate>
                                <asp:Label ID="LabelEmail" runat="server" Text="Label"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Contact Type">
                            <ItemTemplate>
                                <asp:Label ID="LabelContactType" runat="server" Text="Label"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Is Active?">
                            <ItemTemplate>
                                <asp:Label ID="LabelIsActive" runat="server" Text="Label"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="style6">
                </td>
            <td colspan="2" style=" vertical-align:middle" class="style6">
                <asp:Button ID="ButtonFirstPage" runat="server" Text="|<" />
                <asp:Button ID="ButtonPreviousPage" runat="server" Text="<" />
                <asp:Label ID="LabelPage" runat="server" Text="| Page"></asp:Label>
                <asp:TextBox ID="TextBox3" runat="server" Width="81px"></asp:TextBox>
                <asp:Label ID="LabelOfPage" runat="server" Text="Of 1 |"></asp:Label>
                <asp:Button ID="ButtonNextPage" runat="server" Text=">" />
                <asp:Button ID="ButtonLastPage" runat="server" Text=">|" />
            </td>
        </tr>
        <tr>
            <td colspan="2" class="style6">
                <asp:Button ID="ButtonSelect" runat="server" Text="Select" />
                <asp:Button ID="ButtonEdit" runat="server" Text="Edit" />
                <asp:Button ID="ButtonClose" runat="server" Text="Close" />
            </td>
            <td colspan="2" class="style6">
                </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
